﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _3._3._5_方法1
{
    internal class Class1
    {
        public bool IsSquare(Rectangle rect) 
        {
            return (rect.Height == rect.Width);
        }

        public bool IsCircle(Rectangle rect) =>rect.Height == rect.Width;
    }
}
